import java.util.Scanner;

public class Javasum {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("第一个数");
        int i = scanner.nextInt();
        System.out.println("第二个数");
        int i2 = scanner.nextInt();
        double i3 = i + i2;
        System.out.println(i3);
        double i4 = i - i2;
        System.out.println(i4);
        }
    }

